package com.lbc.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xyl
 * @date 2021-03-17 19:53
 */
@Data
public class PictureDTO {

    @ApiModelProperty("编辑时使用")
    private Integer pictureId;

    @NotBlank
    @ApiModelProperty(value = "标题",required = true)
    private String title;
    @NotBlank
    @ApiModelProperty(value = "图片地址 , 多张图片以逗号分隔",required = true)
    private String pic;
}
